package com.pattern.deno.component;

import java.math.BigDecimal;

/**
 * @ClassName: Beverage 咖啡超类
 * @Description:
 * @Date: 2020/8/28 13:58
 * @Author: Song JinGen
 */
public abstract class Beverage {
    public String description = "未知咖啡";

    /**
     * 饮料名称
     * @return
     */
    public String getDescription() {
        return description;
    }

    /**
     * 价格 抽象方法
     * @return
     */
    public abstract BigDecimal cost();
}
